Version

MetadataPropertyMappings Property

Used for defining metadata field mappings.
Syntax
'Declaration
 
Public Property MetadataPropertyMappings As MetadataPropertyMappingCollection
public MetadataPropertyMappingCollection MetadataPropertyMappings {get; set;}
Remarks

MetadataPropertyMappings property is used to specify fields from which the Metadata (Infragistics.Controls.Schedules.ActivityBase.Metadata) dictionary will be populated (as well as saved). An entry for each of the fields specified in this collection will be created in the Metadata dictionary of the associated object. This can be used in conjuction with a Metadata field mapping entry in the containing field mapping collection in which case all the entries in the Metadata dictionary will be saved to and retrieved from that field except for the entries for which an explicit mapping has been defined in the collection returned by this property.

For example, let's say you have "A", "B" and "C" entries in the Metadata dictionary. You define an entry in the containining PropertyMappingCollection<TKey,TMapping> that specifies that the Metadata dictionary will be saved and retrieved from "Meta" field. You also define an entry for "C" in the collection returned by this property. In such a scenario, the "A" and "B" values of the Metadata dictionary will be saved to the "Meta" field in the form of an XML document and the value of the "C" entry will be saved to the field specified by the associated mapping in the MetadataPropertyMappings collection.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also